Code
Show All Code
Hide All Code
TEXT ANALYSIS
Ingest tweets
Clean up
Remove URLs
Tokenize
Lemmatize and Stemming
Term Frequency
Generate a word cloud
Plot the most frequent 50 words
Bigrams
Remove stop words
Sentiment Analysis
Make the plot
Positive sentiment words
Negative sentiment words
Bi-Gram Negation Words
NOT
NO
NEVER
WITHOUT
NER
Parts of Speech
Keyword In Context (KWIC)
References
The citations and data sources used for this case
Collecting Twitter Data